package com.lagou.rpc.consumer;

import com.lagou.rpc.consumer.config.ZookeeperSessionCreateSelectNode;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author: jie.zhao
 * @create: 2021/05/18 12:18
 */
@SpringBootApplication
public class ClientBootstrapApplication  implements CommandLineRunner {

//    @Autowired
//    RpcClient rpcClient;

//@Resource
//    ZookeeperSessionCreateSelectNode zookeeperSessionCreateSelectNode;

    public static void main(String[] args) {
        SpringApplication.run(ClientBootstrapApplication.class, args);
        ZookeeperSessionCreateSelectNode zookeeperSessionCreateSelectNode = new ZookeeperSessionCreateSelectNode();

        zookeeperSessionCreateSelectNode.init();
    }




    @Override
    public void run(String... args) throws Exception {

    }
}
